package com.germinus.telcoblocks.echarts.preferences;


import org.eclipse.jface.preference.IPreferenceStore;
import com.germinus.telcoblocks.echarts.ECharts;
/**
 * Class that access to the preferences of the preference page defined by
 * this plug-in
 * 
 * @author Pablo Muñoz
 *
 */
public class TelcoblocksPreferenceHandler{
	
	/**
	 * Preferences stored by the plug-in
	 */
	static IPreferenceStore preferences = ECharts.getDefault().getPreferenceStore();
	
	/**
	 * Getter for the Echarts Path preference
	 * @return Path to ECharts SDK
	 */
	public static String getEChartsPath(){
		return preferences.getString(TelcoblocksPreferenceConstants.ECH_PATH);
	}
}
